﻿using System;
using System.Collections.Generic;

#nullable disable

namespace Model.Models
{
    public partial class Orderdetail
    {
        public Orderdetail()
        {
            Distributes = new HashSet<Distribute>();
            Stockchanges = new HashSet<Stockchange>();
        }

        public string Odid { get; set; }
        public string Oid { get; set; }
        public string Cid { get; set; }
        public string Gid { get; set; }
        public int? Counts { get; set; }
        public decimal? Totalmoney { get; set; }
        public string Remark { get; set; }
        public decimal? Planmoney { get; set; }
        public decimal? Realmoney { get; set; }
        public string Managereason { get; set; }
        public DateTime? Managedate { get; set; }
        public int? Manager { get; set; }
        public int? Litter { get; set; }

        public virtual Customer CidNavigation { get; set; }
        public virtual Goodsme GidNavigation { get; set; }
        public virtual Employee ManagerNavigation { get; set; }
        public virtual Order OidNavigation { get; set; }
        public virtual ICollection<Distribute> Distributes { get; set; }
        public virtual ICollection<Stockchange> Stockchanges { get; set; }
    }
}
